<!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p th:text="${name}"></p>
<div shiro:hasPermission="user:add">
<a href="/add">添加</a>
</div>
<div shiro:hasPermission="user:update">
<a href="/update">修改</a>
</div>
</body>
</html>